Skip to main content

RowLeftSwipeControlClicked

Type​

message

Summary​

Sent when the left hand side data grid swipe control is clicked.

Syntax​

on RowLeftSwipeControlClicked pTarget

Description​

RowLeftSwipeControlClicked is sent to your data grid's custom row template when the user clicks on the left hand side swipe control. Handle RowLeftSwipeControlClicked if you want to perform a custom action on click.

The default action is to delete the current row.

Parameters​

NameTypeDescription

pTarget

The target of the click. Use this to determine where in the swipe control the user clicked.

Examples​

on RowLeftSwipeControlClicked
dispatch "DeleteIndex" to group "DataGrid" with the dgIndex of me
end RowLeftSwipeControlClicked

on RowLeftSwipeControlClicked pTarget
switch the name of the target
case "show"
dispatch "DeleteIndex" to group "DataGrid" with the dgIndex of me
break
case "archive"
dispatch "RowSwipeHideControl" to group "DataGrid"
break
end switch
end RowLeftSwipeControlClicked

property: enable swipe, left swipe control, right swipe control

command: RowSwipeShowControlForIndexAndSide

message: RowSwipeHideControl, RowSwipedRight, RowSwipedLeft, RowLeftSwipeControlClicked, RowRightSwipeControlClicked, RowLeftSwipeControlHidden, RowRightSwipeControlHidden, GetLeftSwipeControl, GetRightSwipeControl

Thank you for your feedback!

Was this page helpful?